package moodish.Security;

import java.util.Date;

public class MoodishTime {

	private String name;
	private Date timeStamp;
	
	/**
	 * 
	 */
	public MoodishTime (){}
	
	/**
	 * 
	 * @param name
	 * @param timeStamp
	 */
	public MoodishTime (String name, Date timeStamp){
		this.name = name;
		this.timeStamp = timeStamp;
	}

	/**
	 * Returns the moodish send by the user
	 * @return name
	 */
	public String getName() {
		return name;
	}

	/**
	 *  Sets the moodish send by the user
	 * @param name
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * Returns the timestamp when the moodish was send
	 * @return
	 */
	public Date getTimeStamp() {
		return timeStamp;
	}

	/**
	 * Sets the timestamp when the moodish was send
	 * @param timeStamp
	 */
	public void setTimeStamp(Date timeStamp) {
		this.timeStamp = timeStamp;
	}
	
	
	
}
